package com.example.springbootstudy.dao.Impl;

import com.example.springbootstudy.dao.DeptDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class AddDeptDaoimpl implements DeptDao {

    @Override
    public String addDeptDao(String ask) {
       if (ask.equals("请添加数据")){
           return "数据添加成功0000";
       }
       return "数据添加失败";
    }
}
